
				
				
				
				
				$( document ).ready(function() {
	$( document ).ready(function() {
		Parse.$ = jQuery;
		Parse.initialize("lken7qlOOU6DnGkQddYiIIVTTGBVGt8cHsTh0mN6", "lVOSFDfYALex78xE7WdpLadiZl61hUe1VrbnLA73");

		if (Parse.User.current()) {

					
					var account = Parse.User.current().get("account");
					
					  if (account === "admin")
					  {
							
							window.setTimeout("location=('adminupmc.html');",3000);
						}
					  else if (account === "bde")
					  {
						window.setTimeout("location=('/pages/hhhh.html');",0000);
					}
					  else if (account === "commercant")
					  {
						window.setTimeout("location=('commerce.html');",3000);
					}
					  else{
						  alert("type de compte non reconnu");
					  }
					}
			    
				
	});
	});